package com.qhhc.hospital.service;

import com.qhhc.hospital.entity.Orders;

import java.util.List;

public interface IOrdersService {
    
    int insert(Orders orders);
    
    List<Orders> selectAll();
    
    Orders selectById(Integer oId);
    
    List<Orders> selectByPatientId(Integer pId);
    
    List<Orders> selectByDoctorId(Integer dId);
    
    int update(Orders orders);
    
    int delete(Integer oId);
} 